package com.attendance.common;


import com.attendance.entity.Employee;

public class BaseContext {
    private static ThreadLocal<Employee> threadLocal=new ThreadLocal<>();
    public static void setEmployee(Employee employee){
        threadLocal.set(employee);
    }
    public static Employee getEmployee(){
        return threadLocal.get();
    }
}
